<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我爱派大星</title>	<script src="demo.js"></script>
   
    
</head>
<body>
   	1.
    <!-- <form id="myform">
        <input type="text" value="" name="username"></br>
        <input type="text" value="" name="sex">
        <button onclick="aa()">获取表单值</button>


    </form>
    
    <script >
function aa(){
var name=myform.username.value;
var sex=myform.sex.value;
alert(username+','+sex)
}
    </script>
    可以在搜索框获取用户输入的信息
    

2.
 邮箱：<input type="text" id="email">
<script>
var input = document.getElementById('email');
input.value; 

</script>
可以获取我自己的邮箱，神奇玩意
 -->


</body>
</html>